import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.directive('change', {
  inserted(el, { value }) {
    if (['admin', 'zhangsan', 'lisi'].includes(value)) {
      el.disabled = false
    }
  }
})
new Vue({
  render: h => h(App)
}).$mount('#app')
